.game-main {
    width: 900px;
    height: 600px;
    box-shadow: 0 0 35px 10px rgba(63, 118, 174, 0.6);
    border: 1px solid #3F76AE;
    padding: 0 2%;
    box-sizing: border-box;
    overflow: hidden;
}

.game-nav {
    width: 100%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-logo {
    width: 8%;
}

.game-nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.game-nav-main img {
    width: 40px;
}

.game-nav-item {
    display: flex;
    align-items: center;
    margin: 0 20px;
}

#light-progressbar {
    width: 150px;
    border: 1px solid #3F76AE;
    height: 20px;
    border-radius: 10px;
    background: none;
    overflow: hidden;
}

#light-progress-content {
    background: #3F76AE;
    height: inherit;
    width: 100%;
    border-radius: inherit;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#score,
#count-down {
    color: #fff;
    font-size: 1.5em;
    margin-left: 1em;
}

.game-frame {
    width: 100%;
    height: 80%;
    position: relative;
    /* background-color: #fff; */
    overflow: hidden;
}

.game-control {
    width: 100%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sound-switch {
    width: 40px;
    cursor: pointer;
}

.sound-switch img {
    width: 100%;
}

.game-control-main {
    display: flex;
    align-items: center;
}

.game-btn {
    width: 80px;
    height: 40px;
    line-height: 40px;
    background-color: #3F76AE;
    color: #fff;
    text-align: center;
    cursor: pointer;
}

.game-btn:active {
    background-color: #38699a;
}

.game-control-btn {
    margin: 0 20px;
}

#game-explain,
#game-over {
    width: 100%;
    height: 100%;
    background-color: #fff;
    padding: 10px;
    box-sizing: border-box;
    transition: 1s all ease-out;
    opacity: 0;
    transform: translateY(-600px);
    position: relative;
    z-index: 10000;
}

.game-explain-show,
.game-over-show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

#game-explain>p {
    margin: 0;
}

#game-explain>p:first-child {
    margin-bottom: 1em;
}

.game-start-btn {
    width: 120px;
    height: 30px;
    line-height: 30px;
    margin: 30px auto 0;
}

.player {
    position: absolute;
    z-index: 999;
    animation: playerShow 0.3s ease-out;
}

.bullet,
.explode,
.enemy,
.light,
.planet {
    position: absolute;
    z-index: 1000;
}

.enemy {
    position: absolute;
    z-index: 998;
}

.light {
    z-index: 1001;
}

.planet {
    z-index: 997;
}

#game-over {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 60%;
    height: 60%;
    margin: 0 auto;
}

.game-over-show {
    transform: translateY(-390px) !important;
}

#player-name {
    border: none;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    width: 80%;
    height: 2.5em;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 2em;
}

#rank {
    width: 100%;
    /* height: 100%; */
    height: 0;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    transition: 0.3s all ease-out;
    position: absolute;
    top: 0;
    left: 0;
}

#rank img {
    height: 60px;
}

.rank-main {
    width: 80%;
    height: 160px;
    overflow-x: hidden;
    overflow-y: auto;
}

.rank-main table {
    width: 100%;
    text-align: center;
}

thead {
    font-weight: bold;
}